package com.sl.au.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.sl.au.entity.ExdeBeforeContractSpecialClause;
/***
 * 
 * @author chuck
 * 20170202 合同签订前审批合同特殊条款子表DAO
 */

public interface ExdeBeforeContractSpecialClauseRepository extends JpaRepository<ExdeBeforeContractSpecialClause, String>{
	
	@Transactional
	@Modifying
	@Query("delete from ExdeBeforeContractSpecialClause c where c.id=?")
	void deleteById(String id);
}
